package com.tansun.easycare.rule.exception;

import org.apache.commons.lang3.exception.ExceptionUtils;

/**
 * 规则引擎模型存在异常提示
 */
@SuppressWarnings("serial")
public class DataExistException extends RuntimeException {
    public DataExistException() {
        super();
    }

    public DataExistException(String message) {
        super(message);
    }

    public DataExistException(Throwable e) {
        super(e);
    }

    public String getStackTraceString() {
        return ExceptionUtils.getStackTrace(this);
    }

    public String getMessageDetail() {
        return ExceptionUtils.getMessage(this);
    }
}
